<div class="searchPanel <?php echo is_null($model->query) ? 'hide' : '';?>">
    <?php $form = $this->beginWidget('CActiveForm', array('id' => 'search', 'method' => 'get')); ?>
    <table width="100%" cellpadding="4" cellspacing="1" class="tab">
        <tr class="row">
            <td width="8%" class="align-right"><?php echo $form->labelEx($model, 'query'); ?>：</td>
            <td th="92%" class="align-left"><?php echo $form->textField($model, 'query', array('size' => 30)); ?></td>
        </tr>
        <tr class="row">
            <td width="8%" class="align-right"><?php echo $form->labelEx($model, 'user_money'); ?>：</td>
            <td th="92%" class="align-left"><?php echo $form->textField($model, 'user_money', array('size' => 30)); ?></td>
        </tr>
        <tr class="row">
            <td width="8%" class="align-right"><?php echo $form->labelEx($model, 'regdate'); ?>：</td>
            <td th="92%" class="align-left"><?php
    $this->widget('zii.widgets.jui.CJuiDatePicker', array(
        'name' => 'User[startRegDate]',
        'value' => $model->startRegDate,
        'options' => array(
            'showAnim' => 'fold',
            'dateFormat' => 'yy-mm-dd'
        ),
        'htmlOptions' => array(
            'class' => 'time'
            )));
    ?>~<?php
                $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                    'name' => 'User[endRegDate]',
                    'value' => $model->endRegDate,
                    'options' => array(
                        'showAnim' => 'fold',
                        'dateFormat' => 'yy-mm-dd'
                    ),
                    'htmlOptions' => array(
                        'class' => 'time'
                        )));
    ?></td>
        </tr>
        <tr class="row">
            <td width="8%" class="align-right"><?php echo $form->labelEx($model, 'loginDate'); ?>：</td>
            <td th="92%" class="align-left"><?php
                $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                    'name' => 'User[startLoginDate]',
                    'value' => $model->startLoginDate,
                    'options' => array(
                        'showAnim' => 'fold',
                        'dateFormat' => 'yy-mm-dd'
                    ),
                    'htmlOptions' => array(
                        'class' => 'time'
                        )));
    ?>~<?php
                $this->widget('zii.widgets.jui.CJuiDatePicker', array(
                    'name' => 'User[endLoginDate]',
                    'value' => $model->endLoginDate,
                    'options' => array(
                        'showAnim' => 'fold',
                        'dateFormat' => 'yy-mm-dd'
                    ),
                    'htmlOptions' => array(
                        'class' => 'time'
                        )));
    ?></td>
        </tr>
        <tr class="row">
            <td width="8%" class="align-right"><?php echo Yii::t('default', '条件过滤'); ?>：</td>
            <td>
                <?php echo $form->dropDownList($model, 'filterLevel', $model->filterLevel()); ?>
                <?php echo $form->dropDownList($model, 'filterAdmin', $model->filterAdmin()); ?>
            </td>
        </tr>
        <tr class="rows">
            <td ></td>
            <td class="align-left"><?php echo CHtml::submitButton(Yii::t('app', '应用过滤条件'), array('class' => 'btn')); ?></td>
        </tr>
    </table>
    <?php $this->endWidget(); ?>
</div>